<?php

if ( file_exists( $this->strFilename ) ) {

    header( "Content-Type: text/javascript" . $this->strContentType . ";" );

    $resFile = fopen( $this->strFilename, "r" );
    $strContent = fread( $resFile, filesize( $this->strFilename ) );
    $fclose( $resFile );

    echo $strContent;

} else {

    throw new Exception();

}

?>
